// @ts-ignore
/* eslint-disable */
import request from '@/utils/request';

/** 新增区域 POST /fds/system/addArea */
export async function addAreaUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.addAreaUsingPOSTParams,
  options?: { [key: string]: any },
) {
  return request<API.__6>('/fds/system/addArea', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 新增收支类型 POST /fds/system/addIncomeExpensesType */
export async function addIncomeExpensesTypeUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.addIncomeExpensesTypeUsingPOSTParams,
  options?: { [key: string]: any },
) {
  return request<API.Pinyin_66>('/fds/system/addIncomeExpensesType', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 新增会员标签 POST /fds/system/addMemLabel */
export async function addMemLabelUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.addMemLabelUsingPOSTParams,
  options?: { [key: string]: any },
) {
  return request<API.__2>('/fds/system/addMemLabel', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 新增会员标签组 POST /fds/system/addMemLabelGroup */
export async function addMemLabelGroupUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.addMemLabelGroupUsingPOSTParams,
  options?: { [key: string]: any },
) {
  return request<API.__>('/fds/system/addMemLabelGroup', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 新增收款方式 POST /fds/system/addPaymentMethod */
export async function addPaymentMethodUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.addPaymentMethodUsingPOSTParams,
  options?: { [key: string]: any },
) {
  return request<API.Pinyin_67>('/fds/system/addPaymentMethod', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 新增收款分类 POST /fds/system/addPaymentType */
export async function addPaymentTypeUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.addPaymentTypeUsingPOSTParams,
  options?: { [key: string]: any },
) {
  return request<API.Pinyin_0>('/fds/system/addPaymentType', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 删除会员标签组 POST /fds/system/deleteMemLabelGroup */
export async function deleteMemLabelGroupUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.deleteMemLabelGroupUsingPOSTParams,
  options?: { [key: string]: any },
) {
  return request<boolean>('/fds/system/deleteMemLabelGroup', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 删除收款分类 POST /fds/system/deletePaymentType */
export async function deletePaymentTypeUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.deletePaymentTypeUsingPOSTParams,
  options?: { [key: string]: any },
) {
  return request<boolean>('/fds/system/deletePaymentType', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 获取调拨设置 POST /fds/system/getAllocateSetting */
export async function getAllocateSettingUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.getAllocateSettingUsingPOSTParams,
  options?: { [key: string]: any },
) {
  return request<API.PageResult39>('/fds/system/getAllocateSetting', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 获取分摊设置 POST /fds/system/getApportionmentSetting */
export async function getApportionmentSettingUsingPOST(options?: { [key: string]: any }) {
  return request<API.Pinyin_95>('/fds/system/getApportionmentSetting', {
    method: 'POST',
    ...(options || {}),
  });
}

/** 获取区域 GET /fds/system/getArea */
export async function getAreaUsingGET(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.getAreaUsingGETParams,
  options?: { [key: string]: any },
) {
  return request<API.__6>('/fds/system/getArea', {
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 获取区域列表 POST /fds/system/getAreaList */
export async function getAreaListUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.getAreaListUsingPOSTParams,
  options?: { [key: string]: any },
) {
  return request<API.PageResult__3>('/fds/system/getAreaList', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 获取自动审核设置 GET /fds/system/getAutoCheckSetting */
export async function getAutoCheckSettingUsingGET(options?: { [key: string]: any }) {
  return request<API.Pinyin_82>('/fds/system/getAutoCheckSetting', {
    method: 'GET',
    ...(options || {}),
  });
}

/** 获取收支类型 GET /fds/system/getIncomeExpensesType */
export async function getIncomeExpensesTypeUsingGET(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.getIncomeExpensesTypeUsingGETParams,
  options?: { [key: string]: any },
) {
  return request<API.Pinyin_66>('/fds/system/getIncomeExpensesType', {
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 获取收支类型列表 POST /fds/system/getIncomeExpensesTypeList */
export async function getIncomeExpensesTypeListUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.getIncomeExpensesTypeListUsingPOSTParams,
  options?: { [key: string]: any },
) {
  return request<API.PageResult34>('/fds/system/getIncomeExpensesTypeList', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 获取积分设置 POST /fds/system/getIntegralSetting */
export async function getIntegralSettingUsingPOST(options?: { [key: string]: any }) {
  return request<API.Pinyin_76>('/fds/system/getIntegralSetting', {
    method: 'POST',
    ...(options || {}),
  });
}

/** 获取会员标签 GET /fds/system/getMemLabel */
export async function getMemLabelUsingGET(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.getMemLabelUsingGETParams,
  options?: { [key: string]: any },
) {
  return request<API.Pinyin_4>('/fds/system/getMemLabel', {
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 获取会员标签组 GET /fds/system/getMemLabelGroup */
export async function getMemLabelGroupUsingGET(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.getMemLabelGroupUsingGETParams,
  options?: { [key: string]: any },
) {
  return request<API.__>('/fds/system/getMemLabelGroup', {
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 获取会员标签组列表 POST /fds/system/getMemLabelGroupList */
export async function getMemLabelGroupListUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.getMemLabelGroupListUsingPOSTParams,
  options?: { [key: string]: any },
) {
  return request<API.PageResult__>('/fds/system/getMemLabelGroupList', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 获取会员标签列表 POST /fds/system/getMemLabelList */
export async function getMemLabelListUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.getMemLabelListUsingPOSTParams,
  options?: { [key: string]: any },
) {
  return request<API.PageResult4>('/fds/system/getMemLabelList', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 获取公告 GET /fds/system/getNotice */
export async function getNoticeUsingGET(options?: { [key: string]: any }) {
  return request<API.Pinyin_20>('/fds/system/getNotice', {
    method: 'GET',
    ...(options || {}),
  });
}

/** 获取密码设置 POST /fds/system/getPasswordSetting */
export async function getPasswordSettingUsingPOST(options?: { [key: string]: any }) {
  return request<API.Pinyin_95>('/fds/system/getPasswordSetting', {
    method: 'POST',
    ...(options || {}),
  });
}

/** 获取收款方式 GET /fds/system/getPaymentMethod */
export async function getPaymentMethodUsingGET(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.getPaymentMethodUsingGETParams,
  options?: { [key: string]: any },
) {
  return request<API.Pinyin_67>('/fds/system/getPaymentMethod', {
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 获取收款方式列表 POST /fds/system/getPaymentMethodList */
export async function getPaymentMethodListUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.getPaymentMethodListUsingPOSTParams,
  options?: { [key: string]: any },
) {
  return request<API.PageResultPaymentMethodDto_>('/fds/system/getPaymentMethodList', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 获取收款分类 GET /fds/system/getPaymentType */
export async function getPaymentTypeUsingGET(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.getPaymentTypeUsingGETParams,
  options?: { [key: string]: any },
) {
  return request<API.Pinyin_0>('/fds/system/getPaymentType', {
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 获取收款分类列表 POST /fds/system/getPaymentTypeList */
export async function getPaymentTypeListUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.getPaymentTypeListUsingPOSTParams,
  options?: { [key: string]: any },
) {
  return request<API.PageResult_>('/fds/system/getPaymentTypeList', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 获取收款门店方式列表 POST /fds/system/getPayMethodStoreList */
export async function getPayMethodStoreListUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.getPayMethodStoreListUsingPOSTParams,
  options?: { [key: string]: any },
) {
  return request<API.PageResult43>('/fds/system/getPayMethodStoreList', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 获取零售设置 POST /fds/system/getRetailSetting */
export async function getRetailSettingUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.getRetailSettingUsingPOSTParams,
  options?: { [key: string]: any },
) {
  return request<API.PageResult39>('/fds/system/getRetailSetting', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 获取收款门店方式Ids POST /fds/system/getStorePayMethodIds */
export async function getStorePayMethodIdsUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.getStorePayMethodIdsUsingPOSTParams,
  options?: { [key: string]: any },
) {
  return request<API.PageResult43>('/fds/system/getStorePayMethodIds', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 获取门店收款方式列表 POST /fds/system/getStorePayMethodList */
export async function getStorePayMethodListUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.getStorePayMethodListUsingPOSTParams,
  options?: { [key: string]: any },
) {
  return request<API.PageResult_>('/fds/system/getStorePayMethodList', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 获取批发设置 POST /fds/system/getWholesaleSetting */
export async function getWholesaleSettingUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.getWholesaleSettingUsingPOSTParams,
  options?: { [key: string]: any },
) {
  return request<API.PageResult39>('/fds/system/getWholesaleSetting', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 设置收款门店方式 POST /fds/system/settingPayMethodStore */
export async function settingPayMethodStoreUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.settingPayMethodStoreUsingPOSTParams,
  body: API.Pinyin_104[],
  options?: { [key: string]: any },
) {
  return request<boolean>('/fds/system/settingPayMethodStore', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    params: {
      ...params,
    },
    data: body,
    ...(options || {}),
  });
}

/** 设置门店收款方式 POST /fds/system/settingStorePayMethod */
export async function settingStorePayMethodUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.settingStorePayMethodUsingPOSTParams,
  body: API.Pinyin_104[],
  options?: { [key: string]: any },
) {
  return request<boolean>('/fds/system/settingStorePayMethod', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    params: {
      ...params,
    },
    data: body,
    ...(options || {}),
  });
}

/** 修改调拨设置 POST /fds/system/updateAllocateSetting */
export async function updateAllocateSettingUsingPOST(
  body: API.Pinyin_95[],
  options?: { [key: string]: any },
) {
  return request<boolean>('/fds/system/updateAllocateSetting', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}

/** 修改分摊设置 POST /fds/system/updateApportionmentSetting */
export async function updateApportionmentSettingUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.updateApportionmentSettingUsingPOSTParams,
  options?: { [key: string]: any },
) {
  return request<API.Pinyin_95>('/fds/system/updateApportionmentSetting', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 修改区域 POST /fds/system/updateArea */
export async function updateAreaUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.updateAreaUsingPOSTParams,
  options?: { [key: string]: any },
) {
  return request<API.__6>('/fds/system/updateArea', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 修改自动审核设置 POST /fds/system/updateAutoCheckSetting */
export async function updateAutoCheckSettingUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.updateAutoCheckSettingUsingPOSTParams,
  options?: { [key: string]: any },
) {
  return request<API.Pinyin_82>('/fds/system/updateAutoCheckSetting', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 修改收支类型 POST /fds/system/updateIncomeExpensesType */
export async function updateIncomeExpensesTypeUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.updateIncomeExpensesTypeUsingPOSTParams,
  options?: { [key: string]: any },
) {
  return request<API.Pinyin_66>('/fds/system/updateIncomeExpensesType', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 修改积分设置 POST /fds/system/updateIntegralSetting */
export async function updateIntegralSettingUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.updateIntegralSettingUsingPOSTParams,
  options?: { [key: string]: any },
) {
  return request<API.Pinyin_76>('/fds/system/updateIntegralSetting', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 修改会员标签 POST /fds/system/updateMemLabel */
export async function updateMemLabelUsingPOST1(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.updateMemLabelUsingPOST1Params,
  options?: { [key: string]: any },
) {
  return request<API.__2>('/fds/system/updateMemLabel', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 修改会员标签组 POST /fds/system/updateMemLabelGroup */
export async function updateMemLabelGroupUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.updateMemLabelGroupUsingPOSTParams,
  options?: { [key: string]: any },
) {
  return request<API.__>('/fds/system/updateMemLabelGroup', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 修改公告 POST /fds/system/updateNotice */
export async function updateNoticeUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.updateNoticeUsingPOSTParams,
  options?: { [key: string]: any },
) {
  return request<API.Pinyin_20>('/fds/system/updateNotice', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 修改密码设置 POST /fds/system/updatePasswordSetting */
export async function updatePasswordSettingUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.updatePasswordSettingUsingPOSTParams,
  options?: { [key: string]: any },
) {
  return request<API.Pinyin_95>('/fds/system/updatePasswordSetting', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 修改收款方式 POST /fds/system/updatePaymentMethod */
export async function updatePaymentMethodUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.updatePaymentMethodUsingPOSTParams,
  options?: { [key: string]: any },
) {
  return request<API.Pinyin_67>('/fds/system/updatePaymentMethod', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 修改收款分类 POST /fds/system/updatePaymentType */
export async function updatePaymentTypeUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.updatePaymentTypeUsingPOSTParams,
  options?: { [key: string]: any },
) {
  return request<API.Pinyin_0>('/fds/system/updatePaymentType', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 修改零售设置 POST /fds/system/updateRetailSetting */
export async function updateRetailSettingUsingPOST(
  body: API.Pinyin_95[],
  options?: { [key: string]: any },
) {
  return request<boolean>('/fds/system/updateRetailSetting', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}

/** 修改批发设置 POST /fds/system/updateWholesaleSetting */
export async function updateWholesaleSettingUsingPOST(
  body: API.Pinyin_95[],
  options?: { [key: string]: any },
) {
  return request<boolean>('/fds/system/updateWholesaleSetting', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
